package com.geqian.web.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.geqian.common.common.ResponseResult;
import com.geqian.web.entity.SysIcon;
import com.geqian.web.service.SysIconService;
import com.geqian.web.mapper.SysIconMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 22543
* @description 针对表【sys_icon(icon图标表)】的数据库操作Service实现
* @createDate 2023-11-12 21:18:03
*/
@Service
public class SysIconServiceImpl extends ServiceImpl<SysIconMapper, SysIcon>
    implements SysIconService{

    @Override
    public ResponseResult<List<SysIcon>> getIcons() {
        List<SysIcon> icons = this.baseMapper.selectList(null);
        return ResponseResult.success(icons);
    }
}




